package com.kevin.controller.action.pdf;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import lombok.extern.slf4j.Slf4j;

@Controller
@Slf4j
@RequestMapping("/pdf")
public class PdfAction {

    @RequestMapping("")
    public ModelAndView index() {
        ModelAndView mav = new ModelAndView("pdf/index");
        log.warn("pdf index log!");
        return mav;
    }

    @RequestMapping("/show")
    public ModelAndView show() {
        ModelAndView mav = new ModelAndView("pdf/show");
        log.warn("pdf/show log!");
        return mav;
    }
}
